﻿@model ChurchDiary.TableEntity.EntityUserSettings
<body class="header-fixed @ViewBag.settings.Color">
<script src="~/Scripts/SettingsControllers/usersettingcontroller.js"></script>
<div ng-controller="usersettingcontroller">
    <input type="hidden" id="hdpicture"  value="@ViewBag.settings.UserPicture" />
    <input type="hidden" id="hdDateformat" value="@ViewBag.settings.DateFormateId" />
    <input type="hidden" id="hdColor" value="@ViewBag.settings.Color" />
    <input type="hidden" id="hdLanguage" value="@ViewBag.settings.LanguageValue" />
    <input type="hidden" id="hdTimeFormat" value="@ViewBag.settings.TimeFormat" />
    <input type="hidden" id="hdCurancey" value="@ViewBag.settings.CurencyValue" />
    <input type="hidden" id="hdSound" value="@ViewBag.settings.NotificationSound" />
    <input type="hidden" id="hdEmailNotification" value="@ViewBag.settings.EmailNotification" />
    <input type="hidden" id="hdCountry"value="@ViewBag.settings.CountryId" />
    <input type="hidden" id="hdStateId" value="@ViewBag.settings.StateId" />
    <input type="hidden" id="hdFixedHead" value="@ViewBag.settings.fixedHead" />
    <input type="hidden" id="hdAddress1" value="@ViewBag.settings.DetaultAddress1" />
    <input type="hidden" id="hdAddress2" value="@ViewBag.settings.DetaultAddress2" />
    <input type="hidden" id="hdPincode" value="@ViewBag.settings.DetaultPinCode" />
    <input type="hidden" id="hdstatus" value="@ViewBag.settings.SettingStatus" />
    <input type="hidden" id="hdSettingPercentage" value="@ViewBag.settings.SettingPercentage" />
    <div class="modal fade bs-example-modal-panel" tabindex="-1" id="settingstab" role="dialog" aria-labelledby="myPanelModalLabel">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header bg-primary">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myAnimationModalLabel">Setting @ViewBag.settings.SettingPercentage% Completed  </h4>
                </div>
                <form name="fromvalidate" novalidate>
                    <div class="modal-body">
                        <p>Your settings is completed on @ViewBag.settings.SettingPercentage% please update your setting to get custom performance</p>
                        <div class="progress progress-striped active">
							<div class="progress-bar progress-bar-info" role="progressbar" data-transitiongoal="@ViewBag.settings.SettingPercentage"></div>
						</div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-danger" ng-click="UpdateStatus(1)">Don't Ask Again</button>
                        <button type="button" class="btn btn-info" ng-click="UpdateStatus(2)">Aks Me Later</button>
                        <button type="button" class="btn btn-primary" ng-click="UpdateStatus(3)">Go to Settings</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
